import React, {Component} from 'react';
import Markdown from 'react-markdown';
import {Anchor, Row, Col} from 'antd';

const {Link} = Anchor;

class JsPage extends Component {
    constructor(props) {
        super(props);
    }


    render() {

        return (
            <div style={{background:"#c0d2bc"}}>
                <Row>
                    <Col span={19}>
                        <h3 id="c_error"> 常见错误 </h3>
                        <Markdown source={"1、java.lang.NoSuchMethodError: javax.servlet.ServletContext.getVirtualServerName()Ljava/lang/String;\n" +
                        "\n" +
                        "    servlet包冲突,去掉低版本\n"}/>


                    </Col>
                    <Col span={5}>
                        <Anchor showInkInFixed="true" style={{background:"#ebefe0"}}>
                            <Link href="#c_error" title="常见错误"/>


                        </Anchor>
                    </Col>
                </Row>
            </div>

        );
    }
}

export default JsPage;